[Editor] Fixed windows crashing glitch.