We would never get to this line if a previous shape was non-static. That would have set m_static = false, in which case the if on line 284 would also be false. I did try to get the local case running inside relativeTransform as well, but ran into issues and bailed out...