Sorta working partial collision detection

Will randomly teleport the player underneath the boxes when the right edge of the player is at some point between two boxes. Not sure exactly why yet.