Prevent crash in PlatformHelper's CoreAccessor if Core stops while a native video window is still set