videocommon: UpdateDrawRectangle cleanup