Fixes an issue with extra buttons.