Some fixes for mpv_command_node

I've been playing with ``mpv_command_node``, and I couldn't get it to work without these patches.