Fix buttons sometimes not working when they are located in asciiPre