Fixed collisions against boundaries to only stop moving forward and backward not turning.