Fixed issue with luagen and pull #1052

Changed TextBox "space" function to static so luagen doesn't try to generate a binding for it