Added filter selection functionality to draw.