fixed a small bug with activating the drawing