fixed sprite implementation