It helps if I add the button layer to the window