Fixes spring transition getEnergy calls with correct parameters