Fixed bug in EditBox callbacks