Small fix to switchState call on sprite list example.