Fixing type weights in safari and menu performance on mobile