Fixed #2245: fixed a bug of Editbox's setPosition

fixed a bug of Editbox's setPosition