fixed sprite renderering