fixed broken zooming on resource plot