Updated the logic so that the hidden canvas is always getting charted and that is the one that gets shared.