Fix minor bug in tasklist scaling