Space bar key press detection doesn\'t seem to work when some combinations of arrow keys are also pressed. Suppose a player controller like this:
void Update(