fixed a bug that caused the previews to disappear on ios7