🍒 Panel: use new API to calculate regionGeometry
Previously the compensation for floatingness was done in qml, which had rounding errors that caused the panel to continuously float/defloat. Use new api that calculates regionGeometry independent of floatingness. This also simplifies the code.
BUG: 481379 FIXED-IN: 6.0
(cherry picked from commit 9309df10)