LOK: Fix API for renderShapeSelection