Maximize is toggle action - so it may be that two presses were registered. You can check with if you run "xev" and check its output.
Maximize is toggle action - so it may be that two presses were registered. You can check with if you run "xev" and check its output.