DrawHandler: fix hide->quit issue