Fixed two bugs with robot components.

1. They could be broken but still powered.
2. Melee damage didn't work at all.
Merge pull request #3249 from CIB/bleeding-edge-freeze

Fixed two bugs with robot components.