Enums randomly resetting in editor