fixes for Text.setTextProperty (wrapped in try/catch)