Remove unused OnPreviewFrame