Slow speed when entering character building

Hello
I have a problem where when a character enters a building with an interior, the speed decreases compared to the outside. Is there a way to fix this?