Fixed bad type in sprite.cpp