Fix calculation of strength/dexterity