fixed sprite flash