VNAV on the 777 works quite well most of the time but does occasionally do the unexpected.
I find doing a direct to or entering a cruise level often gets it back to normal. Failing that you have the 3x table.
Have you looked in the Bulletins section of your manuals? Ours have quite a few navigational anomalies detailed. You might have even discovered a new one!