fix NPE
do not try to select minimized views