Fix render on safari