Attempting to resolve resize issue

Window is not created with correct geometry