removing bounding rectangle on paint