Is there a way to eliminate the display flash of hidden buttons?