Replace every call to mapToParent by matrix call