Fix URI issue in getDrawingObjects method