Fixed bug with aspect ratios in FITS viewer