It seems like gas is not always accounted for properly
I've experienced that gas is not accounted for properly. Gas that is exhausted has once more been refilled, and it is not due to being refuelled. My current hypothesis it is due to how maps are managed / merged.
From what I understand the main reason for keeping track of maps that have already existed is to be able to store the state of those elements. Ie the gas state.
I'm going to try to keep the gas state in the map manager and track the gas usage of each element there. That should prove to be more reliable.