Fixed dock windows size calculation to avoid crash on Mono/Linux.
Fixed dock windows size calculation to avoid crash on Mono/Linux.

Romout/dockpanelsuite,shintadono/dockpanelsuite,RadarNyan/dockpanelsuite,angelapper/dockpanelsuite,compborg/dockpanelsuite,rohitlodha/dockpanelsuite,elnomade/dockpanelsuite,joelbyren/dockpanelsuite,ArsenShnurkov/dockpanelsuite,dockpanelsuite/dockpanelsuite,15070217668/dockpanelsuite,jorik041/dockpanelsuite,15070217668/dockpanelsuite,transistor1/dockpanelsuite,thijse/dockpanelsuite,xo-energy/dockpanelsuite