House prices rise for the first time in three months