Add bugfix for overlays and text-properties that have an overriding
keymap.