Bug Drawing Text Over An Open Gl Component OSX

Im using an OpenGLAppComponent but on OSX I get a strange glitch when i use the paint method and draw some text on it. Here are some screen shots of the windows version and the OSX version. Im using Juce 4.2.3 on Osx el Capitan.