Factorize displace and glow state changes.