changed clip bounds to data coordinates