Fix infobox with DPR != 1.