Fixed the issue that the insert image button invalid.