Fixed Bug #1348593 where setData(d) function had rendering issues
because of caching of data