Fixed a bug that sometimes caused an inappropriate button to display