Fixed small bug in objects.lua preventing object.textinput(text) functionality