fix buttons not working for lua shown formspecs