Very creative, melted my brain trying to get thru it! I don't know if this should be considered a bug, but I thought it was odd that you didn't lose the pickups when hitting undo.
Ah thank you! Do you mean, like the resource counter on the top left corner didn't go down when pressing undo and undoing the pick up?