DrawHandler: fix hide/show issue