Fix v7 surf2 drawing
Fix v7 surf2 drawing

When extracting color from palette, number of colors is N-1 where
N is number of levels in palette
bellenot/jsroot,linev/jsroot,root-project/jsroot,root-project/jsroot,bellenot/jsroot,bellenot/jsroot,linev/jsroot