Fixed WinRT resource loading.
#1232