Baby gets stuck in her crib

So my baby girl has been sleeping through the night for the most part but has woke up screaming a few times this week because her arms or legs get stuck in between the crib slats and I have to help get them out. I know bumpers are looked at as dangerous, but I feel like she would sleep much better if she wouldn't be able to get stuck. Has this happened to anyone else, what do you think I should do???