Fix typo in computing m_maximum
Correct mistake in effectbuttonparameterslot