Fix jump velocity mechanics (Fixes #1708)