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

Fixes FS#1837: Zooming in into profile picture doesn't scale it proportionally 
This runs the regex twice for the sake of an one liner. Please run the regex only once.