Enable ZoomToWidth and ZoomToHeight before drawing