Use correct aspect ratio when zooming in/out of picture.

Fixes FS#1837: Zooming in into profile picture doesn't scale it proportionally 
Changed to using an if statement here.