fix for Safari jitters