added fix for box-border on ipad