Fixed Event.ACTIVATE and Event.DEACTIVATE