Once you get closer to the edge, the virtual cursor won't stay under the stylus. Check Dev tools -> Pointer Location and drag up and down a bit and you'll hopefully understand