Fix events not firing with 'autoActivate: false'.

Fixes #333.
Closes #340.