Fix minor issues with myCursorX clamping