Fix the computation of the trackbar's size.