Restrict pressing/holding jump to times when it is legal/meaningful to do so;