Fix #2: Preview display based on showPreview