I just found a solution, hope it will help.
You just have to make your game peaceful until the bug is fixed :
Code: Select all
/c game.player.surface.peaceful_mode=true
Code: Select all
/c game.player.surface.peaceful_mode=false
Code: Select all
/c game.player.surface.peaceful_mode=true
Code: Select all
/c game.player.surface.peaceful_mode=false