fixed a bug filters ignoring drawn polygons