[WPF] Fix high-DPI image scaling