Fix transform detection.