fix mouse jumping with WASD.discard