Fixed issue with zooming near the edges of a bubble chart. Closes #1673.