fix bug of _draw