Problem: Negative window and grid height with 'winbar'. Solution: Clamp the height when subtracting the 'winbar' height. (cherry picked from commit 0e7479bb76)
0e7479bb76