fixed sprite_ex and changed sprite_ex interface