i fixed it i think (can't reproduce it on my pc, i think its tied to the frametime) i think the downwards movement gets cut short in some situations. Or at least higher then the 2 pixels down i was scanning. Which leads to the player never touching the ground (like in the vid). i've made it now that when a downhit is detected (and cuts the jump) it also moves the player to stick to the down ground tile making sure that its a hit