Disable code that aborts switching to preview mode.

This addresses issue #1514.