Fixed a collision bug with collisions on the left-hand side of objects