small fix for creating new polygon