fix rendering bug in button labels