Fix crash on start from happen

roboport and robot graphic code changes.