Fix TUIButton for Yosemite compatibility.