fix retina drawing issue