title: WPF render glitches on WIN XP
body: <p><img src="https://i.stack.imgur.com/ehQWe.png" alt="enter image description here"></p>
  
  <p>For example this button roundrectangle becomes like this sometimes! not always..</p>
  
  <p>WPF on windows xp with 3.5sp1... 
  Any solution for this??
  On my machine works fine WIN7. I tried at XP had some problems with transparency when installed drivers no problem at all..<br>
  At another computer with XP also no problem reported...  Only at one computer there is a problem but i dont know its configuration as it isnt mine..</p>
  
  <pre><code>&lt;Style x:Key="ResultsButton" TargetType="{x:Type Button}"&gt;
              &lt;Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/&gt;
              &lt;Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/&gt;
              &lt;Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/&gt;
              &lt;Setter Property="BorderThickness" Value="1"/&gt;
              &lt;Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/&gt;
              &lt;Setter Property="HorizontalContentAlignment" Value="Center"/&gt;
              &lt;Setter Property="VerticalContentAlignment" Value="Center"/&gt;
              &lt;Setter Property="Padding" Value="1"/&gt;
              &lt;Setter Property="Template"&gt;
                  &lt;Setter.Value&gt;
                      &lt;ControlTemplate TargetType="{x:Type Button}"&gt;
                          &lt;Grid&gt;
  
                              &lt;Rectangle Stroke="Black" RadiusX="7" RadiusY="9" StrokeThickness="0"&gt;
                                  &lt;Rectangle.Effect&gt;
                                      &lt;DropShadowEffect Direction="281" Color="#FF5A5252" ShadowDepth="4"/&gt;
                                  &lt;/Rectangle.Effect&gt;
                                  &lt;Rectangle.Fill&gt;
                                  &lt;LinearGradientBrush EndPoint="0,1" StartPoint="0,0"&gt;
                                      &lt;GradientStop Color="#FFE5B210" Offset="1"/&gt;
                                      &lt;GradientStop Color="#FFE5B210" Offset="0.49"/&gt;
                                      &lt;GradientStop Color="#FFF18200" Offset="0.51"/&gt;
                                      &lt;GradientStop Color="#FFF18200"/&gt;
                                  &lt;/LinearGradientBrush&gt;
                                  &lt;/Rectangle.Fill&gt;
                              &lt;/Rectangle&gt;                
  
  
                              &lt;ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/&gt;
                          &lt;/Grid&gt;                 
  
  
                          &lt;ControlTemplate.Triggers&gt;
                              &lt;Trigger Property="IsKeyboardFocused" Value="true"&gt;
  
                              &lt;/Trigger&gt;
                              &lt;Trigger Property="ToggleButton.IsChecked" Value="true"&gt;
  
                              &lt;/Trigger&gt;
                              &lt;Trigger Property="IsEnabled" Value="false"&gt;
                                  &lt;Setter Property="Foreground" Value="#ADADAD"/&gt;
                              &lt;/Trigger&gt;
                          &lt;/ControlTemplate.Triggers&gt;
                      &lt;/ControlTemplate&gt;
                  &lt;/Setter.Value&gt;
              &lt;/Setter&gt;
          &lt;/Style&gt;
  </code></pre>
  
  <p>On </p>