frontend/qml: Use dummy text item for measuring text for mouse input