[webgl-point] Minor refactoring to WebGL image replay func