¿C # WPF diferente tamaño de IDE después de la depuración?

Estoy teniendo un problema con diferentes apariencias enBlend/VS2012 IDE y enDebugging. EnIDE, laRectangle está en el centro, pero cuando se compila o depura, el tamaño del margen es diferente. En mi opinión, esto ocurre porque el tamaño del borde de la ventana es diferente. Tengo muchas ganas de solucionar este problema. ¿Alguna sugerencia?

Gracias.

XAML

<Window x:Class="WpfApplication2.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="202" Width="194">
<Grid HorizontalAlignment="Left" Height="171" VerticalAlignment="Top" Width="186">
    <Rectangle Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="151" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="166"/>
</Grid>

EditadoXAML&nbsp;código:

<Window x:Class="WpfApplication2.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="202" Width="194">
<Grid HorizontalAlignment="Left" Height="171" VerticalAlignment="Top" Width="186">
    <Rectangle Fill="#FFF4F4F5" HorizontalAlignment="Center" Height="151" Margin="10" Stroke="Black" VerticalAlignment="Center" Width="166"/>
</Grid>

El resultado es el mismo. ¿Es este problema de mi PC?