draw software mouse cursor to prevent broken cursor