Hacky, horrible fix for iOS.