Photoshop Hand Tool Sticky Fix

TL;DR: Disable GPU Compositing found under Preferences > Performance > Advanced Settings..., and restart Photoshop for the change to take effect.

I've been struggling with this issue for a while now. I'm using Adobe Photoshop v25.4.0, but this issue appears to have been introduced with one of the v24.x minor releases. 

Using the Hand tool in Photoshop, the Hand tool becomes stuck dragging the canvas when the left mouse button is released while the cursor is still moving, and remains stuck until the cursor stops moving AND the left mouse button is clicked again. 

This sticky behavior seems to be more of a bug than a feature. When using a mouse, the unresponsiveness can be annoying, but it also has a tendency to slow down workflow while having to compensate for the issue. When using a stylus though, this issue becomes more of a problem since it's not as easy to compensate for it by pressing down and releasing the stylus on the same pixel, causing the Hand tool to effectively become stuck indefinitely.

I spent some time a few weeks ago looking into this issue, trying to find a solution for it, but was unable to find one within a reasonable amount of time, and resigned myself to just living with the issue for the time being. However, after dusting off my Wacom tablet to use with painting, it became absolutely necessary to find a solution. So I dug deeper and found one.

This issue occurs when the GPU Compositing option is enabled under Advanced Graphics Processor Settings, which can be found under the Performance tab in Preferences. 

After disabling the GPU Compositing option and restarting Photoshop, the issue is now resolved.