For some reason the windows I created do not hide while pressing F12. Do I need to register to an event or so?