Am I a shitty person ?

My ex has been in the hospital for a month now ... he was in icu on a breathing machine. He just started waking up prob has no memory what so ever ... I can’t stop thinking about him . This past month I thought he was dead because that’s what people were telling me so I cried a lot about it ... and my husband didn’t like that I was so upset when I thought he was dead and I don’t blame him ... any ways I can’t stop thinking about him now . Hoping and praying for a recovery for him .. some days I wonder if he will be the same or if he will remember me ... but then I think I’m so very thankful for my husband I have now I love him and I’m so grateful to have him as a hubby .. but does it make me a shitty person that I can’t get my mind off my ex?