Thank you and, the pineapples are drawn after the player, but the problem is not that, but it is that the hitbox for the player is weird.