Fix context menu disabling on Safari.