Clear previous object also for QML themes