Fixes window resize bug when form is open