Fixed bug where images are rotated on small mobile phones