fixed drawing of data rectangle huge with correct clipping