Added workaround for safari

Signed-off-by: Rik Cabanier <cabanier@adobe.com>