Fixed preview image rendering randomly failing on iOS 8.