Fix calculation of available screen rect when there are multiple panels on the same screen side.
As an example, if previously we had two 30px panels one next to each other, the code would reserve a 60px area.
I'm slightly unsure on why there are so many recent bug reports about this, since it seems like the code was like this since 2014?