Fixed calling of user defined functions without input arguments. E.g. createROI