Now takes your cursor position into account