mjs-key directive, Input fixes