Update sprite-core.rb