Fixed sprite flipping