Flip horizontal, aka ".scaleX *= -1"

The above formula does indeed flip my MC horizontally, but it also swaps the reference point from the top left to the top right, which makes it unusable.

Is there another way to do this?