Fix Image preview rotation