Changed the up vector for computing the scale factor: it failed when

there was a roll in the view