Fix multipalette not getting cleared properly (fixes #26)