I have the same problem since I updated to 15.5 beta 3, nothing seemed to work except de-attaching the smart keyboard then re-stick the pencil while de-attached from the smart keyboard 🤦♂️ it’s really inconvenient and very annoying glitch, since I have to use my pencil for draw and design