core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key)