possible bugfix with cached dim colors being used instead of 24-bit colors
tracked down bug introduced in cf2fbc2f2ac0bd5c0ee5e020e4ca89130f9d7cc7
Merge fix from branch '24-bit-color' into 18-bit-color