possible bugfix with cached dim colors being used instead of 24-bit colors
tracked down bug introduced in cf2fbc2f2ac0bd5c0ee5e020e4ca89130f9d7cc7