Adapt for a change in x-axis end switch position.