Fix selecting shape underneath other polygons