Fixed the unreliable :active style of the buttons