Whenever you have shiftlock enabled and then you die, your cursor gets inverted so when you respawn your normal cursor is the shiftlock cursor and the shiftlock cursor is the normal cursor. Then when you die again while holding shiftlock everything goes back to normal. If you die without shiftlock then it will keep the inverted cursors.