It should be fixed now. Turns out I initally believed the souce of trouble was the thing that determined if a tile was ocupied or not, so I erased all events with that. It wasn't but I forgot to give every event that thing back. I did now and it should be working fine with some luck.