same as 116ac97, for inplace widget as well

#62 did not fix the inplace widget, only the iframe widget.