Fix problem with resize out of window south and east