[applets/taskmanager] Perform more rounding in thumbnail size calculation
It fixes issues where sometimes the thumbnail content is one pixel too
tall. Apparently Latte Dock already does this in its fork of this toolTip
code (see D26760), to positive effect.