Fixed wrapping issues with the btn class

Fixes #4454