fix bug preventing shape selection