MADS: Fix for palette initialisation in Palette::initRange