title: MouseDown event not fireing
body: <p>I want to add option to draw rectangle on image. But that is not problem.
  In order to get it working I need to use MouseDown, MouseUp and MouseLeave events of Image Control in WPF.</p>
  
  <pre><code>    &lt;DockPanel Name="dockPanel1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="15"&gt;
          &lt;GroupBox Header="WebCam" Name="groupBox1" VerticalAlignment="Top" HorizontalAlignment="Left"&gt;
              &lt;Grid&gt;
                  &lt;Image HorizontalAlignment="Left" Margin="0" Name="pictureBoxMain" Stretch="Fill" VerticalAlignment="Top" MinHeight="240" MinWidth="320" StretchDirection="DownOnly" MaxWidth="960" MaxHeight="1200" MouseDown="pictureBoxMain_MouseDown" MouseUp="pictureBoxMain_MouseUp" MouseLeave="pictureBoxMain_MouseLeave" Panel.ZIndex="50" /&gt;
              &lt;/Grid&gt;
          &lt;/GroupBox&gt;
          &lt;StackPanel HorizontalAlignment="Right" Name="stackPanel2" VerticalAlignment="Top" DockPanel.Dock="Right" Margin="15,0,0,0"&gt;
              &lt;GroupBox Header="Controls" Name="groupBox2"&gt;
                  &lt;StackPanel Name="stackPanel1"&gt;
                      &lt;Button Content="Start" Height="23" Name="buttonStartStop" Width="120" Margin="0" Click="buttonStartStop_Click" /&gt;
                      &lt;Button Content="Video Properties" Height="23" Name="buttonVideoProperties" Width="120" Margin="0" Click="buttonVideoProperties_Click" /&gt;
                      &lt;Button Content="WebCam Settings" Height="23" Name="buttonWebCamSettings" Width="120" Margin="0" Click="buttonWebCamSettings_Click" /&gt;
                  &lt;/StackPanel&gt;
              &lt;/GroupBox&gt;
              &lt;GroupBox Header="Motion Data" Name="groupBox3"&gt;
                  &lt;StackPanel&gt;
                      &lt;Label Content="Strength: 0" x:Name="labelMotionStrength" /&gt;
                      &lt;Label Content="Count: 0" x:Name="timesWasMotionCounter" /&gt;
                  &lt;/StackPanel&gt;
              &lt;/GroupBox&gt;
          &lt;/StackPanel&gt;
      &lt;/DockPanel&gt;
  </code></pre>
  
  <p>I'm talking about events of "pictureBoxMain".
  Why those events never fire? I'm clicking on my image like crazy and still nothing.
  What should I do to make those event working?</p>