Fixing safari issue - problem with 'pointer-events' property.