MarPanning: fix color data array size
MarPanning: remove unused variables