Fixed a bug where the colors used would not update properly after shaking