Unity 5 cursorlock problem

Has the cursorlock problem (described in posts such as Cursor Lockstate Troubles - Unity Engine - Unity Discussions ) been fixed in versions later than 5.0.1? It certainly doesn’t work in that version.

If it hasn’t been fixed, is there a workaround? I tried changing the cursor graphic (so it wouldn’t be noticeable), but that doesn’t work because it inevitably becomes visible again after drifting outside the game window.

It’s a huge problem in first-person games if the player needs to click on anything directly in front of him, in which case the cursor is not the point where you are actually clicking. If you try to lock the cursor and make it invisible, it sometimes pops out of the game window about 30% of the time when you click a mouse button, and constantly flickers back and forth when you move the mouse. Leaving it unlocked prevents it from popping out of the game window entirely, but it’s confusing because people think the cursor location is what they’re clicking on.

Anyone know how to fix or get around this? It can be a huge issue in a 3D game.