Fixes for iOS Safari