Issue #5983: fixed bug that draw none

fixed bug that draw none