Fix bug in isIdentity usage in renderRoI