Fix draw by ctWindow
little buggy