Fixed Chrome not expanding empty text nodes.
Added extra precaution by reseting overlay when textarea is empty.