docs: function pointIsInsideBounds(x, y, bounds) {
          return x >= bounds.left &&
              y >= bounds.top &&
              x <= bounds.left + bounds.width &&
              y <= bounds.top + bounds.height;
      }