Pass keyboard modifiers correctly.

We ignore the keyboard modifiers in dispatcher. This patch
fixes the issue.

This fixes #156