Fix a bug related with trigger event in the render method of the view