Fixed bug where unmodified axis used pos1 coords instead of pos2 coords.