Added desallocation of the viewport private data.