Fixed a severe bug with robot components.

There were several desyncs between robot.cell and robot.components["power cell"].installed, leading to very annoying bugs.