Finish polygon drawing on double click