Fix margins and padding for higher pixel ratios