Fix issue with highResolutionDisplay

Hi,

On my macbook pro retina, the drawToBitmapData