Fixed issue in PlatformWindows. When making the new context current, condition order caused a crash if __hrc was null.