Fix support for browsers that don't support pointer-events.