Fixed the issue related with video buffers un-referencing