[WPF] Bitmap support fixes

Properly implemented image cropping.
Implement GetScaleFactor.