Fixed safari mobile rendering issues.