fix for spinner on iOS