Dispatch native events if possible

We now check whether we can dispatch a native event or if we need to
fallback on fully emulated dispatch.

Fixes #335