Fixing bug with resizing of buttons on selection enable/disable.