qml: change anchor adjustment order for Qt 6
This particular setting does not work with Qt 6. I found the least invasive way for it to work would be to simply change the order.
Note that this file requires heavy refactor. This kind of code style is not in-line with the rest of the codebase.