Fixing Emitter frame index bug on hardware rendering mode.