fix #4233: avoid NPE if showcase view target is not found