Fixed issue of renderer was not being disposed.