Made width and height setting for addRect make sense