Having trouble with lag

So I'm using this menu http://galvs-scripts.com/2013/04/14/menu-themes-engine/ and it works wonderful but when ever I open up the menu it lags a little bit before actually opening the menu.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-with-lag.39995/