prevent from getting stuck after dragging tabs
#7 first try for fix to corrupted UI on image tabs