fixed drawing pads to send the events to the drawing functions