Bug fix for transformOrigin inheriting on flips