window sizing fixes