Material design textfields

I recently got a material plug in for corona, I used to create material text-fields which are on an overlay but whenever I call it from on “onClick” function, the text-fields disappear from the overlay. I decided to make my own, by making the text-field invisible and creating a text object that shows what’s being typed but whenever I click to another text-fields, I can’t click back to the old one, even tho i made it hit-testable.

Anyone have any ideas on making a god material design text-field?

Just mentioning that I made the text-field invisible because material design text fields don’t have backgrounds