move xkb context before final dispatch