Changed the up vector for computing the scale factor: it failed when
there was a roll in the view
Merge pull request #2228 from josecpujol/fix_2198

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