Fixed issue with boxes gaining energy.