Windows frame fixe

Fix draggable frame and enable top frame buttons on windows