It may be even intended behaviour...
The problem:
Build a road, see that you have less money than before (quite normal)
Press z
See that you have still the same amount of money.
I don't find that very logical, if I build a road but it is completeley not the route I intendend and I press z to undo it, I expect to regain my money...