Set global transform to invalid when changing transform (cherry picked from commit 152572ac38)
152572ac38