Fix parsing of arguments if mcviz is used as a module