Fix gravity and velocity to values per Minecraft wiki.

Also, stop crashing when overlaps are negative, just set them to zero and proceed.