fix mesh leak in camera class