consider stage element offset when calculating pointer position