#652 fix NullReferenceException in GlowWindow