Fix bug in shared_ptr and change render enum in tileMap to GL_TRIANGLE_STRIP