while spectating in either a game or when watching a replay you can cancel the production of units and techs on buildings by hitting the x on the build queue. This is purely a visual bug and has no effect on actual gameplay.
Thanks @Kouriger! I’ll forward this to the team to check out. Appreciate it!