Fixed seg fault when vector plot overlay tried to render slice outside of the image