[[ Bug 13042 ]] Make sure we use mapped codepoint when key mapping (mismerge from 12747 refix).
[[ Bug 13098 ]] Don't synthesise a key event for composition sequences, just use direct insertion.

Conflicts:
	engine/src/desktop.cpp
Merge pull request #999 from runrev/bugfix-13042

Bugfix 13042