Bug fix for mobile Safari.