clipGetRegionOfDefinition: fix a bug where the wrong method was called.
Fixed that so there's now a single function to get an input node:
getInput(int) instead of 2 functions depending of the current thread.