Set regular polygon to invisible, not working correctly