The following XAML is simply a Polygon on a Canvas that is scaled x2000. There is a trigger that changes the Fill color for the Polygon when the mouse is over it.
Why does the box change color when you hover your mouse above and to the left of the Polygon.
<Canvas Background="Black" Height="600" Width="600">
<Canvas.RenderTransform>
<ScaleTransform ScaleX="2000" ScaleY="2000" />
</Canvas.RenderTransform>
<Polygon>
<Polygon.Resources>
<Style TargetType="Polygon">
<Setter Property="Fill" Value="HotPink"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter Property="Fill" Value="LimeGreen"/>
</Trigger>
</Style.Triggers>
</Style>
</Polygon.Resources>
<Polygon.Points>
<PointCollection>
<Point X="0.1" Y="0.1" />
<Point X="0.2" Y="0.1" />
<Point X="0.2" Y="0.2" />
<Point X="0.1" Y="0.2" />
</PointCollection>
</Polygon.Points>
</Polygon>
</Canvas>
If I replace the Polygon with a TextBlock, this doesn't happen. How can I avoid this from happening?