It's definitely some kinda bug (i.e. showing white dominance with +M4 on the on the scale after black checkmated white) and I am not very surprised as playing with strange custom chess position indeed can lead miscalculation and corrupted lines....by the engine.
How.
If you need help, please contact our Help and Support team.
https://www.chess.com/analysis/game/pgn/3wXxNE3ZUz
how-