at2x retina image function - fix bug 898013