Fix draw window