Bugfix for Projection view

With PR #3052 I introduced a bug which causes Insight to crash with a ClassCastException when the Projection view is selected; this PR fixes the issue.

Test: Just open a multi-Z image in the full viewer and choose the Projection view