'In spite of' is a fixed phrase and no longer has any real notional connection with 'spite' ('a desire to hurt, annoy, or offend'), in spite of one of its meanings: 'in disregard or defiance of'. Therefore, the sentences that worry you are also quite natural.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.