Why is Comparator Output Offset by -5V with a Unipolar Supply?
Note that the symbol for the comparator does not have any power supply pins.

It is presumably being impicitly powered by +5V and -5V.

Look for another comparator variant in your simulator library that allows you set the power supplies.