clear to no data color in quilted mode
fix potential crash with quilting, and remove code not working on macosx