Fixed the endstop position