In code, make it so that the collider is levitating slightly from the ground below it. That's how most games do it. Helps you handle stairs too. If you can't do that, give it a rounded bottom (like a capsule collider 2D? I forgot what it's called in Unity 2D). Otherwise, it gets stuck everywhere.