Update for wrawing bug windows