Fixed a bug, big image preview caused Insight to freeze

Fixes a problem introduced with PR #2711

To Test: Make sure that the right-hand side preview panel still works for small images, but is not enabled for big images.