fixed the not-drawing problem for retina MBP by adding P3D mode