fix continue draw problem