Apple sidekick support is flaky

I use my iPad with my Mac as an external touchscreen with a pencil. This is a tricky one, because sometimes it works, but sometimes it doesn’t. I couldn’t find the system in it yet.