Bob falling through floor

I tried to fix a bug that causes bob to fall through the floor after moving or resizing the window.
It is caused through large delta values, that are passed if the window is moved or resized (which can take some time). Because of this there is a huge acceleration that causes the collision checking to fail (Because the character would have moved too far down).