screencast: make context current in tryEnqueue

The method is used when the cursor position changes. There is no guarantee
that a context would be current at that point in time


(cherry picked from commit 1fd1c037)
2 jobs for Plasma/5.24 in 12 minutes and 17 seconds (queued for 10 seconds)