Fixes window not getting smaller after closing some applications.