Prevent content jumping in Safari