Mouse and keyboard events are now sent to and processed correctly by the Gui