Do clip optimization only when clipping is turned on
Merge pull request #2675 from mdboom/clip-only-when-clipping-is-on

clip_on = False does not work for x-axis