Performance update: avoid setting transition repeatedly when panning