Fixes #648: EVENT_BEFORE_ACTION is triggered twice.