When working on the fix for
SAK-40287, I had to add a magic number of 1px to the height calculation because I couldn't find where the 1px was coming from. This bothered me. I have finally found it: it is coming from the height of the #Mrphs-viewport-helpers children.
Remove the 1px height from these children and remove the magic number from my #toolMenuWrap calculation.