Fix retina rendering bug