Fixed ingame restarting when pressing escaped due to clicks not getting consumed