Fix setting SwapXY on the fly, it's a BOOL property, not int.