Fix for issue #1010 (incorrect rendering for flipped sprites with FLX_RENDER_TILE flag)