Bug fixed: Memory leak in video