Fixed bug in determining last frame where a burrow is active