Fixed SD-1931 - Dragging Pointer from toolbox to WPF designer throws exception.

As you can see I fixed the issue in 4.x branch. I assume you'll merge it up to master, or should I make another pull request to master?