Fix EnergyPanel size problem with text boxes