Revert "Revert "Stop energy cube core rendering when cube is empty.""

This reverts commit 781cead970be76f28718b87e50f1a653bcbcc9ad.