fix paste image bug in chrome + update title with filtered text