Screen edge camera panning isn't very consistent. I currently have "Lock mouse to window" and "Edge Panning" enabled.
Not sure if it's just related to playing at 4k resolution but there are huge dead zones for camera panning. I would recommend changing the panning zones to something similar to the green bordered area in the screenshot below.