Moved all OpenGL drawing logic to a custom CCNode subclass and then added this class to the game layer as a child