rebuild polygon drawing