My daughter keeps smashing her head into her crib 😭

I've seen this post on her before but it was never a problem for me until the last few days 😭 my LO keeps bonking and smacking her head on her crib railings and waking up all throughout the night. I know crib bumpers aren't safe and are a suffocation hazard, but does anyone know of any good, safe bumpers I could try? Thanks:)