Changed window clear method

Actually clear the window instead of drawing a 0x0 rectangle which for some reason pisses off compton.