Add support for FlipX/FlipY