fix clip inversion for rectangular tags nor working because the argument to setInverse() was not processed correctly