RAD-424: Fix behaviour of button when profile is resized