Window placement sorta works, but unpredictable if removing frame