Fixed bug where editors wouldn't initialize some times due to event logic not working correctly.