Fixing emitter 'cannot inline a not final return' bug.

Since renderParticle was inlined, emitter now fails with `Emitter.hx:141: characters 25-31 : Cannot inline a not final return`.

Surrounding the return in an if/else block solves the issue.