fix buffer icon drawing in stroke mode