verifying the size of drawing area