Fix building button showing bug