Fix view alignment on safari.