Window will now clean before rendering