Fixed top of tile collision bug