Fix bug which makes moving to X = -1 possible.