The coordinates are flipped 50% of the time. Need to fix that.