fixes for the jumping functionality for megaman