Validate the drawing area after the custom painting of the control