Fixing an issue with stripped border on Safari