Fix Xaml Polygon caching