Zoom window does not follow mouse cursor
In System Preferences>Accessibility>Zoom I have Picture-in-picture as the zoom style with the options "Window position: Follow mouse cursor" "Hold ctrl alt to temporarily toggle zoom". However, whenever I trigger zoom by ctrl alt or by the keyboard shortcut the zoom window appears but freezes in place and does not follow the mouse cursor (I use the trackpad not a mouse). It always worked for the past 4 years but recently for no reason it stopped working. I tried turning it on and off, trying different configurations but no avail. I'm not sure if this change was right after I upgraded to Mojave or awhile after. Is this a bug or is anyone aware of 3rd party apps causing this? And is there a known solution to this issue?
I have a Macbook Pro, Mid 2014 with macOS Mojave 10.14.6.
MacBook Pro 13", macOS 10.14