fix draw control for polygon