Fix jumping animation glitches caused by minor vertical movements.  Should resolve Bug #1271.