This change is mainly for Retina display mode. original commit: 4f86f1de6232250d7f5debbd5cae02674d2ac106