Fix mask parameters: Remove the invert parameters for mask which is
impossible to achieve inside Natron only.

Also fixed the result of getRegionOfDefinition heuristic when infinite
is returned.