Update text.class.js

Added fix for stroke shadow as in object class in normal renderFill method.