In case you got stuck with broken invisible objects from some mods, this console command can help to remove them:
/c game.print("Found the following objects:")
for key, obj in pairs(game.player.surface.find_entities_filtered{position=game.player.position, radius=2}) do
game.print(" - "..obj.type..": "..obj.name)
if obj.type ~= "character" then obj.destroy{raise_destroy=true} end
end
It finds all the objects nearby player character and deletes them, so, use carefully!