title: Image renders differently depending on position
body: <p>I have an ItemsControl presenting a list of buttons.  Each button has an image as it's content (png), but the image looks slightly different for each row.</p>
  
  <p>The below image is magnified version of what I'm seeing:<br>
  <img src="https://i.stack.imgur.com/6cOex.png" alt="enter image description here"></p>
  
  <p>Here is the xaml:</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding Items}"&gt;
      &lt;ItemsControl.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel   Orientation="Horizontal"&gt;
                  &lt;TextBlock Name="tb1"&gt;hello&lt;/TextBlock&gt;
                  &lt;Button Height="{Binding ElementName=tb1, Path=ActualHeight}" Padding="0,-3,-3,-3" BorderBrush="Transparent" Background="Transparent" &gt;
                      &lt;Image Stretch="Fill"  Source="stock_standard_filter.png" Margin="0"&gt;
                      &lt;/Image&gt;
                  &lt;/Button&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ItemsControl.ItemTemplate&gt;
  &lt;/ItemsControl&gt;
  </code></pre>
  
  <p>I've had a <a href="https://stackoverflow.com/q/5255071/503969">similar issue previously</a> and was able to solve it using <code>SnapsToDevicePixels="True"</code>, but that solution is not working this time.  I've also tried <code>UseLayoutRounding="True"</code> and <code>RenderOptions.EdgeMode="Aliased"</code></p>