Fix incorrect background colour for sidebar tag pills

Fixes #568.