retina fix, backported from Soda

See https://github.com/buymeasoda/soda-theme/compare/c1dd0b9b98...51c6649d50