Work around strange Safari bug

Issue #66