Copy data before manipulating/drawing

Fix issue raised on ML- confirmation needed.