Attempt to fix Mobile Safari crash