Fixed the bug where text wasn't responding to onClick events