Fixed IllegalArgumentException if switching between images of different dimension sizes (but same dimension number) in the 'Transfer function view' (table cell view).