Fix Safari issues.