Bug fix on a copy paste error. Tifs and images with width > height should now scale properly.