Make sure getColor() never called during rebuild