Fix picture rotation