Fixed change of gravity on key down