The task switcher doesn't initialize thumbnailGridView.currentIndex properly after the Plasma.Dialog has been just created.