[WPF] Fix method for getting the native image