That seems like a common problem i have seen in platformers.
assuming you do collision detection on probably a certain point relative to the player
Uhh, basically since movement is kinda like rapid teleportation, if the ground is like 5 pixels down, and your moving 10 pixels downward, you'll end up five pixels in the ground.
Thus, taking the ...