JS: fix picking bug for a multi-line Text object
JS: fix picking bug for a multi-line Text object

Fixes a bug that prevented all but the first line of a Text object to be
picked using the mouse.

Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim