Fixed collision for player

The collision now accurately accounts for hitbox offsets when
calculation what direction to move to correct the collision for the
player.