Window now repaints after it has been re-sized.