[fixes gh-30] Added feature detection to preview.