Fixed AnglesEnergy bug.