add retina switch for PApplet to set useActive with OS X and 7u40