Fixes close buttons.