Fix selecting blank image bug