fixed sprite loading