Workaround for a bug in Qt 5 that caused a ghost of the ondevice column to become visible sometimes when switching libraries.