remove getImageSlices to save memory
screenshare bug fixed for previous commit
optimize dirty match algo for screen share