Fixed memory leak and render lag for energy cables