Allow Esc and mouse in gui