Fix if condition which mostly could never work as
in the lines above sprite & callback get rewritten
if they are typoef 'function' and stuff.

This makes it possible to stop a sprite by using
stop() / pause() with a sprite name.