This is a subtle point that is often missed. It's the same reason that butt-in-chair hours has a real effect on how those above you perceive your work. Being visible doing Good Things is often more important than not doing the bad things in the first place when it comes to careers.