Ports some lag spike fixes

Ports https://github.com/tgstation/-tg-station/pull/4407 and https://github.com/tgstation/-tg-station/pull/4406 which fixes some lag spikes with fire spots and walls. Credit to Aran for the code.