fix nui_emitaction bugs.