Workaround for loading images due to bug in iOS 8