Support clicking in entity to change colour.

There is a crash bug at the moment.