What you could do is compensate for that by ending your day an hour early or by taking a long lunch break. You were working late or early unwittingly and solved a problem. I’ve learned to notice when I’m just spinning my wheels to hit that 8h for the day and now I just stop for the day when that happens. Then if something does come up I don’t end up doing overtime on top of everything. I don’t feel guilty since I get paid for results, not hours in front of my machine and because I know I can’t stop thinking about the problem in the shower or when I wake up in the middle of the night