Fix discrepancy between rendered and browser image alignment