Make conversion of bitmap from OpenGL render context to WPF image more s...

...table.