Make dirtyrect use map container instead of vector