Fix layout problem by changing percentage precision