Added getCurrentType() to ShapeRenderer.