Fixed bug with polygon borders