Fixed editor triggering spontaneously