kind of hacky solution to windows "disappearing" but it seems to work
should fix performance issues