Fix transform bug.