I'm having the exact same issue since upgrading to 10.13.4 on a 2017 13-inch MacBook Pro.
Most suggestions that I can find online do not help alleviate the issue:
- increasing cursor size - Nope
- reset PRAM - Nope
As I realized it only happens when I hook it up to my LG 5K monitor (as recommended and sold on apple.com), which is set to a higher scaled resolution, I tried setting the resolution to the default recommended resolution. Lo and behold, it fixes the problem!
I'm not entirely happy with the fix though as I am used to the higher resolution on the 5K monitor and now things look gigantic. I also could use a little more screen real estate.
Hope Apple could fix this issue soon.
I also would like to add that it happens to me rather consistently when I am coding on Sublime Text 3 and Atom. It does not happen on apps like Safari, Finder or Slack.
Edit: It seems that it generally occurs to rotated screens, I would like to add that mine is not rotated. I'm using the 5K monitor in landscape mode.