PreviewPane: remove redundant null check

Noticed by Findbugs.
Merge pull request #648 from melissalinkert/findbugs-fix

Java 1.7/Findbugs fixes