Properly handle ctrl (primary) on ubuntu 12+

Without this, keystrokes that include control tend to not fire properly.  For example, binding to ctrl+space ends up triggering on just space before this patch.

[Do ran into this as well](https://bugs.launchpad.net/do/+bug/903566)