Fix windows with frames