[CSS] Fix bug where button pseudoclass styles would not always apply correctly.