might have fixed an error that is hard to reproduce

Trying to fix an error that is very hard to reproduce. It has something
to do with laggy servers and the entity not existing yet or its overlay
not being sent yet or something. Hopefully this will fix it.