Fix retina sprite generation.