Fixed a bug with random colors not being available, and fixed css issue ...

...in image annotation causing the annotations to go beyond the bounding box, in list view.